#include "OLED_I2C\Adafruit_SSD1306.h"
#include <Wire.h>
#define OLED_RESET 0 //PD2 //arduino pin 0

SSD1306ASCII oled(OLED_RESET);

void OLEDSetup() {
  // If you want to provide external 7-9V VCC, uncomment next line and comment the one after
  //oled.ssd1306_init(SSD1306_EXTERNALVCC);

  // by default, we'll generate the high voltage from the 3.3v line internally! (neat!)
  oled.ssd1306_init(SSD1306_SWITCHCAPVCC);
  
  oled.clear();
  oled.print("Hello world!");
  
  oled.setCursor(0, 1);
  oled.write("A long line is truncated");
  
  oled.setCursor(5, 3);
  double x = 123.45;
  oled.write("x = ");
  oled.print(x);
}


void OLEDLoop()
{
  
}
